package com.ikun.service;

import java.util.List;

import com.ikun.entity.Attendances;
import com.ikun.entity.Users;
import com.ikun.entity.req.MangerDTO;
import com.ikun.entity.req.OwnerDto;
import com.ikun.entity.req.StuffDTO;
import com.ikun.entity.req.UserDTO;

public interface UserService {
    Users findByUsername(String username);

    List<Users> findAllOwner();

    List<MangerDTO> findAllMangerDetail();

    String updateUser(Users users);

    String deleteUser(Integer userId);

    String addManger(Users users);

    String addStaff(Users users);

    String addOwner(Users users);

    List<Attendances> findAllMangerAttendances(String datePart, String buildPart);

    List<StuffDTO> findAllStuff();

    int countAllUsers();

    int countAllStuffs();

    List<OwnerDto> findAllOwnerDetail();

    UserDTO findUserByName(String username);

    OwnerDto findAllOwnerDetailById(Integer id);

    List<OwnerDto> findAllOwnerDetailByManagerId(Integer id);

    List<OwnerDto> findAllOwnerInfoByManagerId(Integer id);

    OwnerDto findAllOwnerInfoById(Integer id);

    int updateOwner(String ownerId, String phone, String photoUrl);

    List<UserDTO> findAllStaff();

    String updateInfo(String id, String phone, String password);

    // int payFees(PropertyPayments propertyPayments);
}
